package com.lzl.producer.services;

import com.lzl.common.GateWayPo;
import com.lzl.common.http.SimpleResponse;
import com.lzl.datas.dao.DbDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class ProducerService {


    @Resource
    DbDao dao;

    public boolean add(GateWayPo po) {
        dao.add(po);
        return false;
    }

    public List<GateWayPo> getResponseList(List<Long> gids) {
        List<GateWayPo> datas = dao.getResponseList(gids);
        return datas;
    }
}
